package com.wb.designmode.commod;

/**
 * 技术经理
 */
public class TechnicalManager1 {

    private String name;
    private Command command;

    public TechnicalManager1(String name) {
        this.name = name;
    }

    public void action(Requirement requirement) {
        this.command.execute(requirement);
    }

    public void setCommand(Command command) {
        this.command = command;
    }
}
